package io.renren.modules.user.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserTeacherDao {
    void addUser(Map<String, Object> data);
    void role(Map<String, Object> data);
    void teacherBindUser(Map<String, Object> data);

    Map<String, Object> queryInfo(@Param("userId") String userId);

    void updateUser(Map<String, Object> data);

    List<Map<String, Object>> queryList(Map<String, Object> param);

    int queryTotal(Map<String, Object> param);


    void updateTeacher(Map<String, Object> data);

    void saveIcon(Map<String, Object> iconUrl);
}
